package pay.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("team_user") // 根据实际情况调整表名
public class TeamUserEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("team_id")
    private Integer teamId;

    @TableField("contest_item_user_id")
    private Integer contestItemUserId;

    @TableField("team_no")
    private Integer teamNo;

    @TableField("required")
    private Integer required = 1;

    @TableField(exist = false)
    private ContestItemUserEntity contestItemUser;
}